package com.mdx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 出库明细
 */
@TableName("t_outgallery")
public class OutGalleryBean {
    /**
     * 主键
     */
    @TableId(value = "pk_outId",type = IdType.AUTO)
    private int outId;

    /**
     * 药剂器材
     */
    @TableField(exist = false)
    private ControlGoodsBean controlGoodsBean;

    /**
     * 领取数量
     */
    @TableField("f_nums")
    private int nums;

    /**
     *出库实体
     */
    @TableField(exist = false)
    private GalleryBean galleryBean;

    @Override
    public String toString() {
        return "OutGalleryBean{" +
                "outId=" + outId +
                ", controlGoodsBean=" + controlGoodsBean +
                ", nums=" + nums +
                ", galleryBean=" + galleryBean +
                '}';
    }

    public int getOutId() {
        return outId;
    }

    public void setOutId(int outId) {
        this.outId = outId;
    }

    public ControlGoodsBean getControlGoodsBean() {
        return controlGoodsBean;
    }

    public void setControlGoodsBean(ControlGoodsBean controlGoodsBean) {
        this.controlGoodsBean = controlGoodsBean;
    }

    public int getNums() {
        return nums;
    }

    public void setNums(int nums) {
        this.nums = nums;
    }

    public GalleryBean getGalleryBean() {
        return galleryBean;
    }

    public void setGalleryBean(GalleryBean galleryBean) {
        this.galleryBean = galleryBean;
    }

    public OutGalleryBean() {
    }

    public OutGalleryBean(ControlGoodsBean controlGoodsBean, int nums, GalleryBean galleryBean) {
        this.controlGoodsBean = controlGoodsBean;
        this.nums = nums;
        this.galleryBean = galleryBean;
    }
}
